import { storiesOf } from '@storybook/vue'
import MD from '../src/docs/switch.md'

storiesOf('开关 Switch', module)
  .add('开关', () => '<div class="mc">\
    <span>默认开关</span>\
    <cl-switch></cl-switch>\
    <span>自定义文案开关 ps:注意两个词字数想等</span>\
    <cl-switch tab-name="关闭,开启"></cl-switch>\
    <span>不显示背景文案</span>\
    <cl-switch background-word></cl-switch>\
    <span>开启明暗模式</span>\
    <cl-switch flash background-word></cl-switch>\
  </div>', {
    notes: {
      markdown: MD
    }
  })